-
Notifications
You must be signed in to change notification settings - Fork 106
feat: add Open-Box Deals Aggregator example #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the
✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Added Demo
| if STATIC_DIR.exists(): | ||
| app.mount("/static", StaticFiles(directory=str(STATIC_DIR)), name="static") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why would the directory not exist if it's in the repo folder?
|
|
||
|
|
||
| # ============================================================================= | ||
| # HELPER FUNCTIONS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these below look a bit fragile, but i see also above there's some json definition in the goal as well.
| return sanitized.strip() | ||
|
|
||
|
|
||
| def validate_url(url: str) -> Optional[str]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think this is going to actually do anything in practice against someone with intent to break, we're going to a bunch of trusted sites in a hardcoded array anyways, right?
A warehouse receipt-themed deal finder that uses TinyFish Agent API to scrape Amazon, Best Buy, Target, Walmart, and 4 other retailers simultaneously. Features live browser previews, automatic savings calculations, and sorts results by best discount.